

package jsyf.oa.entity.apply;

import com.alibaba.fastjson.JSONObject;
import jsyf.oa.ientity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
@Entity
@Table(name = "T_APL_MONEY_PAY_AUDIT", schema = "oa", catalog = "")

public class MoneyPayAuditEntity extends BaseEntity implements Serializable {

    private String fkMoneyId;

    private String auditorId;

    private String auditorName;

    private String auditFlag;

    private Integer auditSort;

    private Date auditTime;

    private String auditAdvise;


    @Override
    public JSONObject getJSONObject() {
        JSONObject obj = new JSONObject();
        obj.put("ID",this.getId());
        obj.put("FK_MONEY_ID",this.getFkMoneyId());
        obj.put("AUDITOR_ID",this.getAuditorId());
        obj.put("AUDITOR_NAME",this.getAuditorName());
        obj.put("AUDIT_FLAG",this.getAuditFlag());
        obj.put("AUDIT_SORT",this.getAuditSort());
        obj.put("AUDIT_TIME",this.getAuditTime());
        obj.put("AUDIT_ADVISE",this.getAuditAdvise());
        return obj;
    }

    public String getFkMoneyId()
    {
        return fkMoneyId;
    }

    public void setFkMoneyId(String fkMoneyId)
    {
        this.fkMoneyId=fkMoneyId;
    }

    public String getAuditorId()
    {
        return auditorId;
    }

    public void setAuditorId(String auditorId)
    {
        this.auditorId=auditorId;
    }

    public String getAuditorName()
    {
        return auditorName;
    }

    public void setAuditorName(String auditorName)
    {
        this.auditorName=auditorName;
    }

    public String getAuditFlag()
    {
        return auditFlag;
    }

    public void setAuditFlag(String auditFlag)
    {
        this.auditFlag=auditFlag;
    }

    public Integer getAuditSort()
    {
        return auditSort;
    }

    public void setAuditSort(Integer auditSort)
    {
        this.auditSort=auditSort;
    }

    public Date getAuditTime()
    {
        return auditTime;
    }

    public void setAuditTime(Date auditTime)
    {
        this.auditTime=auditTime;
    }

    public String getAuditAdvise()
    {
        return auditAdvise;
    }

    public void setAuditAdvise(String auditAdvise)
    {
        this.auditAdvise=auditAdvise;
    }
    public String getTableName() { return "T_APL_MONEY_PAY_AUDIT"; }
    public JSONObject getJSONColumns() {
        JSONObject obj = new JSONObject();
        obj.put("ID","id");
        obj.put("FK_MONEY_ID","fkMoneyId");
        obj.put("AUDITOR_ID","auditorId");
        obj.put("AUDITOR_NAME","auditorName");
        obj.put("AUDIT_FLAG","auditFlag");
        obj.put("AUDIT_SORT","auditSort");
        obj.put("AUDIT_TIME","auditTime");
        obj.put("AUDIT_ADVISE","auditAdvise");
        return obj;
    }

}
